<?php

class DefaultController extends Controller
{
public $layout = '/layouts/column1';

public function actions()
	{
		return array(
			// page action renders "static" pages stored under 'protected/views/site/pages'
			// They can be accessed via: index.php?r=site/page&view=FileName
			'page'=>array(
				'class'=>'CViewAction',
			),
		);
	}

	public function actionIndex()
	{
               $this->redirect(array('page','view' => 'dashboard'));
	}
}